Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update PHPUnit, Install phpunit-watcher #472

Merged
merged 5 commits into from
Oct 12, 2022
Merged

Update PHPUnit, Install phpunit-watcher #472

merged 5 commits into from
Oct 12, 2022

Conversation

iandunn
Copy link
Member

@iandunn iandunn commented Oct 12, 2022

PHPUnit was updated to the latest version (9.5), and function signatures/assertions were updated to match. I also used WP's currently recommended setup/teardown methods and fixtures.

This also installs phpunit-watcher, since it makes developing tests much easier. It's used in Gutenberg, WordCamp.org, and several other WP repos.

This was branched off from #469. I belive all of the comments raised there have been addressed:

@iandunn iandunn marked this pull request as ready for review October 12, 2022 17:58
@iandunn iandunn requested a review from kasparsd October 12, 2022 17:58
@iandunn
Copy link
Member Author

iandunn commented Oct 12, 2022

I'll need to rebase this after #469 is merged, and maybe apply a few of the updates there as well.

Copy link
Collaborator

@kasparsd kasparsd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great!

.github/workflows/test.yml Outdated Show resolved Hide resolved
@iandunn
Copy link
Member Author

iandunn commented Oct 12, 2022

It doesn't look like there are any updates needed from #469, so I'll go ahead and rebase + merge.

@iandunn iandunn force-pushed the update-php-tooling branch from 58cfc73 to 3aff027 Compare October 12, 2022 19:27
@iandunn iandunn merged commit be268ba into master Oct 12, 2022
@iandunn iandunn deleted the update-php-tooling branch October 12, 2022 19:30
@jeffpaul jeffpaul added this to the 0.8.0 milestone Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants